package org.javaboy.vhr.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class Train implements Serializable {
   Integer id;
   String name;
    String title;
    String content;
    Integer trainee;
    String requirement;

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    private Department department;



    public Integer getTrainee() {
        return trainee;
    }

    public void setTrainee(Integer trainee) {
        this.trainee = trainee;
    }

    Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "Asia/Shanghai")
    Date train_time;

    String train_location;
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getTrain_location() {
        return train_location;
    }

    public void setTrain_location(String train_location) {
        this.train_location = train_location;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getRequirement() {
        return requirement;
    }

    public void setRequirement(String requirement) {
        this.requirement = requirement;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTrain_time() {
        return train_time;
    }

    public void setTrain_time(Date train_time) {
        this.train_time = train_time;
    }
}
